//
//  XWDiscoverTableViewController.swift
//  新浪 weibo
//
//  Created by xuwei on 16/1/18.
//  Copyright © 2016年 xuwei. All rights reserved.
//

import UIKit

class XWDiscoverTableViewController: XWVisitorViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        if visitorView != nil{
         visitorView?.setInfo("visitordiscover_image_message", message: "登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过")
            return
        }
        setupUI()
    }
    private func setupUI(){
        let seachView = XWDiscoverSearchView.seachView()
        seachView.frame.size.width = UIScreen.mainScreen().bounds.width
        navigationItem.titleView = seachView
    }
}
